<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
    <!--  layui的css-->
    <link rel="stylesheet" th:href="@{/static/layui/css/layui.css}">
</head>
<body>
<h1>index.html</h1>
<div class="layui-container">
    <div class="layui-progress" style="margin: 15px 0 30px;">
        <div class="layui-progress-bar" lay-percent="100%"></div>
    </div>


    <div class="layui-btn-container">
        <div class="layui-row">
            <div class="layui-col-xs4">
            </div>
            <div class="layui-col-xs4">
                <div class="grid-demo"> 1.获取请求作用域内容</div>

            </div>
            <div class="layui-col-xs4">
            </div>

        </div>

        <div class="layui-row">

            <!--        1.测试使用request请求域对象进行写入数据-->
            <a th:href="@{/msg/servlet}" class="layui-btn" test-active="test-form">1.request请求域</a> <br>
            <!--        2.测试使用modelandview来封装数据，和设置跳转视图的名称（真正跳转还是视图解析器）-->
            <a th:href="@{/msg/mav}" class="layui-btn" test-active="test-form">2.ModelAndView</a> <br>
            <!--       3.使用Mode-->
            <a th:href="@{/msg/mav/model}" class="layui-btn layui-btn-normal" test-active="test-form">3.Model</a> <br>
            <!--        4.使用modelMap-->
            <a th:href="@{/msg/mav/modelMap}" class="layui-btn layui-btn-warm" test-active="test-form">4.modelMap</a>
            <br>
            <!--        5.使用Map-->
            <a th:href="@{/msg/mav/map}" class="layui-btn layui-btn-danger" test-active="test-form">5.Map</a> <br>

        </div>

        <!--        分割线-->
        <div class="layui-progress" style="margin: 15px 0 30px;">
            <div class="layui-progress-bar" lay-percent="100%"></div>
        </div>

        <div class="layui-row">
            <!--        使用session共享数据-->
            <a th:href="@{/msg/session/}" class="layui-btn layui-btn-danger"
               test-active="test-form">session共享会话域</a> <br>
        </div>


        <!--        分割线-->
        <div class="layui-progress" style="margin: 15px 0 30px;">
            <div class="layui-progress-bar" lay-percent="100%"></div>
        </div>

        <div class="layui-row">
            <!--        使用application共享数据-->
            <a th:href="@{/msg/app/}" class="layui-btn layui-btn-danger"
               test-active="test-form">application共享会话域</a> <br>
        </div>


        <!--       restful风格-->
        <div class="layui-progress" style="margin: 15px 0 30px;">
            <div class="layui-progress-bar" lay-percent="100%"></div>
        </div>
        <div class="layui-row">
            <a th:href="@{/user/}" class="layui-btn layui-btn-danger"
               test-active="test-form">查询全部用户</a> <br>
            <a th:href="@{/user/6/软件21.6}" class="layui-btn layui-btn-danger"
               test-active="test-form">条件查询用户</a> <br>
        </div>


        <!--        员工的增删查改案列-->
        <div class="layui-progress" style="margin: 15px 0 30px;">
            <div class="layui-progress-bar" lay-percent="100%"></div>
        </div>
        <div class="layui-row">
            <a th:href="@{/restful/employee/}" class="layui-btn layui-btn-danger"
               test-active="test-form">员工信息操作</a> <br>
        </div>
    </div>


</div>

<!--lauui的js-->
<script th:src="@{/static/layui/layui.js}"></script>
</body>
</html>